import { Icon as ArcoIcon } from "@arco-design/web-react";

interface PropInt {
  type: string;
  style?: React.CSSProperties;
  className?: string;
}

const Icon = ArcoIcon.addFromIconFontCn({
  src: "//at.alicdn.com/t/c/font_4661160_il3tfo7n9hq.js",
});

export default function IconFont(props: PropInt) {
  return (
    <span className={props.className}>
      <Icon type={props.type} style={props.style}></Icon>
    </span>
  );
}
